﻿.echo on
net use r: \\192.168.2.168\hiport\import hiport /user:hiport
del r:\trans\*.txt
copy d:\hiport\import\trans\*.txt r:\trans
copy d:\hiport\import\info\*.txt r:\info
copy d:\hiport\import\trans\BXBZ\*.txt r:\trans
set newDir=%date:-=%
if not exist r:\his\%newDir% mkdir r:\his\%newDir%
copy d:\hiport\import\trans\*.txt r:\his\%newDir%
copy d:\hiport\import\info\*.txt  r:\his\%newDir%
copy d:\hiport\import\trans\BXBZ\*.txt r:\his\%newDir%
copy d:\hiport\import\info\*.txt d:\hiport\import\trans\%newDir%\
net use r: /delete

rem net use t: \\192.168.2.104\hip\import Dsti123 /user:hiport
rem del t:\trans\*.txt
rem copy d:\hiport\import\trans\BXBZ\*.txt t:\trans
rem copy d:\hiport\import\info\*.txt t:\info
rem if not exist t:\his\%newDir% mkdir t:\his\%newDir%
rem copy d:\hiport\import\trans\BXBZ\*.txt t:\his\%newDir%
rem net use t: /delete



